package personresources.manager.dto;
import personresources.manager.hibernate.Employee;
public class EmployeeDto {
	private Employee employee;
	private String groupName;
	private boolean isChecked;
	private String idCheck;
	public EmployeeDto(){
		
	}
	
	public EmployeeDto(Employee employee){
		this.employee = employee;
		this.setGroupName(this.employee.getGroup().getGroupName());
	}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public void setIsChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}

	public boolean getIsChecked() {
		return isChecked;
	}

	public void setIdCheck(String idCheck) {
		this.idCheck = idCheck;
	}

	public String getIdCheck() {
		return idCheck;
	}
	
}
